<?php

namespace common\exception;

use common\exception\base\BaseCodeException;

/**
 * @description 自定义异常
 */
class CustomException extends BaseCodeException
{
    /**
     * @param int $code
     * @param string $message
     */
    public function __construct(int $code, string $message)
    {
        parent::__construct($message, $code);
    }
}
